import { Routes } from '@angular/router';

import { RankListComponent } from "./rank-list.component";
import { UpDownComponent } from './up-down/up-down.component';
import { MonthDealComponent } from './month-deal/month-deal.component';
export const rankListRoutes: Routes = [
  {
    path: 'ranklist',
    component: RankListComponent,
    children: [{
      path: '',
      redirectTo: 'updown',
      pathMatch: 'full'
    }, {
      path: 'updown',
      component: UpDownComponent
    }, {
      path: 'monthdeal',
      component: MonthDealComponent
    }, {
      path: '**',
      component: UpDownComponent
    }]
  }
];